package com.hk.admin.common.model.system;

import com.hk.admin.common.constant.GlobalConstants;
import lombok.Data;

import javax.persistence.*;

@Entity
@Data
@Table(name = GlobalConstants.TABLE_PREFIX + "area")
public class AreaModel {

    @Id
    private Integer id;                 //  ID,6位数字,
    private Integer provinceId;        // 省级ID,
    private Integer cityId;            // 市级ID,
    private Integer countyId;          // 县级ID,
    private String name;                //  名称,最多15个字符,
    private String provinceName;      // 省级名称,最多15个字符,
    private String cityName;           //  市级名称,最多15个字符,
    private String countyName;         // 县级名称,最多15个字符,
    private String telAreaCode;        // 电话区号,最多4个字符,
    private String postalCode;         // 邮政编码,最多5个字符,
    private String level;               // 级别,SHENG:省级;SHI:市级;XIAN:县级,
    private String shortName;          // 简拼,最多15个字符,
    private String status;             // 启用状态,QY:启用;TY:停用;,

    public AreaModel() {
    }


}
